<?php
namespace ServicesApi\Response;
class ActivityTurnLinkResponse{
    public $url;
    public $short_url;
    public $page_path;
    public $app_url;
    public $wx_code;
    public $original_id;
    public $app_id;

    public function __construct($parmas){
        $this->url = isset($parmas['url']) ? $parmas['url'] : '';
        $this->short_url = isset($parmas['short_url']) ? $parmas['short_url'] : '';
        $this->page_path = isset($parmas['page_path']) ? $parmas['page_path'] : '';
        $this->app_url = isset($parmas['app_url']) ? $parmas['app_url'] : '';
        $this->wx_code = isset($parmas['wx_code']) ? $parmas['wx_code'] : '';
        $this->original_id = isset($parmas['original_id']) ? $parmas['original_id'] : '';
        $this->app_id = isset($parmas['app_id']) ? $parmas['app_id'] : '';
    }

    /**
     * @return string
     */
    public function getOriginalId()
    {
        return $this->original_id;
    }

    /**
     * @param string $original_id
     */
    public function setOriginalId($original_id)
    {
        $this->original_id = $original_id;
    }

    /**
     * @return string
     */
    public function getAppId()
    {
        return $this->app_id;
    }

    /**
     * @param string $app_id
     */
    public function setAppId($app_id)
    {
        $this->app_id = $app_id;
    }

    /**
     * @return mixed
     */
    public function getUrl()
    {
        return $this->url;
    }

    /**
     * @param mixed $url
     */
    public function setUrl($url)
    {
        $this->url = $url;
    }

    /**
     * @return mixed
     */
    public function getShortUrl()
    {
        return $this->short_url;
    }

    /**
     * @param mixed $short_url
     */
    public function setShortUrl($short_url)
    {
        $this->short_url = $short_url;
    }

    /**
     * @return mixed
     */
    public function getPagePath()
    {
        return $this->page_path;
    }

    /**
     * @param mixed $page_path
     */
    public function setPagePath($page_path)
    {
        $this->page_path = $page_path;
    }

    /**
     * @return mixed
     */
    public function getAppUrl()
    {
        return $this->app_url;
    }

    /**
     * @param mixed $app_url
     */
    public function setAppUrl($app_url)
    {
        $this->app_url = $app_url;
    }

    /**
     * @return mixed
     */
    public function getWxCode()
    {
        return $this->wx_code;
    }

    /**
     * @param mixed $wx_code
     */
    public function setWxCode($wx_code)
    {
        $this->wx_code = $wx_code;
    }
}